home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / whris.zip / README.DOC < prev    next >
Text File  |  1993-03-01  |  3KB  |  74 lines

  1. Yes, yet another command-line file find utility. This one is 32-bit so it only
  2. works with OS/2 2.0 and higher. If you need a 16-bit version, contact me at my
  3. Compuserve id 72251,750 and I'll E-Mail you one.
  4.  
  5. Most of the time, if you always do a multiple-drive search, all you need to do
  6. is 'whereis filename'. The drives and directories will be displayed as they are
  7. searched.
  8.  
  9. To search only one drive, 'whereis d:filename' where d is the drive letter.
  10.  
  11. To search only specified drives, 'whereis filename //ddd' where each d is a
  12. different drive letter (that's right - 2 slashes).
  13.  
  14. To search using a certain directory as a root for the search,
  15. 'whereis d:\dirpath\filename' where d is the drive letter and dirpath is any
  16. valid directory path. Leaving out the drive letter will search the current
  17. drive.
  18.  
  19. Using 'whereis .\filename' will start the search from the current drive and
  20. current directory using OS/2's special directory characters.
  21.  
  22. Hitting the D key while search is in progress will toggle the displaying of
  23. the directories being searched. This is useful for long searches because
  24. displaying the directory names does take time - a 37 second search took only
  25. 31 seconds without listing the directory names.
  26.  
  27. Use the /s option when redirecting to a printer. This will suppress all the
  28. messages that display program progress. Without the /s, your output will be a
  29. mess because the displays don't use line feeds.
  30.  
  31. All options will be displayed by invoking WHEREIS without any command-line
  32. parameters. You will get the following screen:
  33.  
  34. -------------------------------------------------------------------------------
  35.  
  36. Whereis.exe, 32-bit, Version 2.1
  37. Copyright (c) Code Blazers, Inc. 1989-1992. All rights reserved.
  38.  
  39. USAGE: whereis [starting-point]file-name [/s //drives]
  40.  
  41.   if no drive letter in starting-point and //drives are not specified,
  42.   all hard drives are searched
  43.  
  44.   starting point can be any valid filespec
  45.  
  46.   /s       - suppress 'Searching' messages (good if redirecting to printer)
  47.   //drives - specify each drive you want to search
  48.  
  49. EXAMPLES:
  50.  
  51.    whereis e:foo.c      - search only drive E for foo.c
  52.    whereis foo.c //cde  - search drives C,D, and E for foo.c
  53.    whereis c:\os2\foo.c - search for foo.c using c:\os2 as the starting point
  54.    whereis foo.c        - search all hard drives for foo.c
  55.  
  56. WHILE RUNNING, THESE KEYS CAN BE USED:
  57.  
  58.      D   - Toggles displaying of directories being searched
  59.      P   - Pauses the program
  60.    <ESC> - Exits the program
  61.  
  62. -------------------------------------------------------------------------------
  63.  
  64. ALSO INCLUDED: pgmpath.exe (syntax: pgmpath filename (no extension necessary))
  65.                to search the PATH for an exe or cmd file and return the fully
  66.                qualified path.
  67.  
  68. Any comments, suggestions, bug reports can be sent to my CIS id 72251,750.
  69.  
  70. Rick Fishman
  71. Code Blazers, Inc.
  72. 4113 Apricot
  73. Irvine, CA 92720
  74.